package com.hbx.config;

import org.jasypt.util.password.BasicPasswordEncryptor;
import org.jasypt.util.password.PasswordEncryptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/*
 * @Author:hbx
 *
 * */
@Configuration
public class PasswordEncodeConfig {

    @Bean
    public PasswordEncryptor passwordEncryptor(){
        PasswordEncryptor passwordEncryptor = new BasicPasswordEncryptor();
        return passwordEncryptor;
    }
}
